Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Route facade macros #306

Merged
merged 2 commits into from
Jun 27, 2020
Merged

Remove Route facade macros #306

merged 2 commits into from
Jun 27, 2020

Conversation

bakerkretzmar
Copy link
Collaborator

This PR removes Ziggy's Route macros, Route::only() and Route::except().

These macros modify the global Route Facade, which feels feel icky and not particularly useful. More importantly, now that these methods are called only and except (they were previously whitelist and blacklist) it's not clear at all what they're actually doing or that they originate from Ziggy.

@mattstauffer
Copy link
Member

Looks good to me. If we get complaints, we can reintroduce it with a name that's scoped to Ziggy after the 1.0 release.

@bakerkretzmar bakerkretzmar merged commit b6ea70f into develop Jun 27, 2020
@bakerkretzmar bakerkretzmar deleted the jbk/remove-router-macro branch June 27, 2020 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants